package org.lboot.jpa.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.SuperBuilder;
import jakarta.persistence.*;
import java.util.Date;

/**
 * @author kindear
 * 自增主键ID的基础实体类
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
@MappedSuperclass
@Schema(description = "无审计信息实体类")
public abstract class NoAuditLongBaseEntity {
    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    @Schema(description = "ID",name = "id")
    protected Long id;
}
